package com.ytf.test.third;

import java.util.Random;

/**
 * @author: YTF
 * @date: 2024/9/12 15:17
 * @version: 1.0
 * @description: 猜硬币
 */
public class GuessCoins {

    public static void main(String[] args) {
        Random random = new Random();
        int anInt = random.nextInt(2);
        if (anInt == 0){
            System.out.println("正面");
        }else {
            System.out.println("反面");
        }
    }
}
